package com.uplooking.pojo;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class CheckVOExample {
    protected String orderByClause;

    protected boolean distinct;
    
    protected Integer start;

	protected Integer limit;

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

    protected List<Criteria> oredCriteria;

    public CheckVOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCkidIsNull() {
            addCriterion("ckid is null");
            return (Criteria) this;
        }

        public Criteria andCkidIsNotNull() {
            addCriterion("ckid is not null");
            return (Criteria) this;
        }

        public Criteria andCkidEqualTo(Integer value) {
            addCriterion("ckid =", value, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidNotEqualTo(Integer value) {
            addCriterion("ckid <>", value, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidGreaterThan(Integer value) {
            addCriterion("ckid >", value, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ckid >=", value, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidLessThan(Integer value) {
            addCriterion("ckid <", value, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidLessThanOrEqualTo(Integer value) {
            addCriterion("ckid <=", value, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidIn(List<Integer> values) {
            addCriterion("ckid in", values, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidNotIn(List<Integer> values) {
            addCriterion("ckid not in", values, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidBetween(Integer value1, Integer value2) {
            addCriterion("ckid between", value1, value2, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkidNotBetween(Integer value1, Integer value2) {
            addCriterion("ckid not between", value1, value2, "ckid");
            return (Criteria) this;
        }

        public Criteria andCkrnidIsNull() {
            addCriterion("ckrnid is null");
            return (Criteria) this;
        }

        public Criteria andCkrnidIsNotNull() {
            addCriterion("ckrnid is not null");
            return (Criteria) this;
        }

        public Criteria andCkrnidEqualTo(String value) {
            addCriterion("ckrnid =", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidNotEqualTo(String value) {
            addCriterion("ckrnid <>", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidGreaterThan(String value) {
            addCriterion("ckrnid >", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidGreaterThanOrEqualTo(String value) {
            addCriterion("ckrnid >=", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidLessThan(String value) {
            addCriterion("ckrnid <", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidLessThanOrEqualTo(String value) {
            addCriterion("ckrnid <=", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidLike(String value) {
            addCriterion("ckrnid like", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidNotLike(String value) {
            addCriterion("ckrnid not like", value, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidIn(List<String> values) {
            addCriterion("ckrnid in", values, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidNotIn(List<String> values) {
            addCriterion("ckrnid not in", values, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidBetween(String value1, String value2) {
            addCriterion("ckrnid between", value1, value2, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkrnidNotBetween(String value1, String value2) {
            addCriterion("ckrnid not between", value1, value2, "ckrnid");
            return (Criteria) this;
        }

        public Criteria andCkctidIsNull() {
            addCriterion("ckctid is null");
            return (Criteria) this;
        }

        public Criteria andCkctidIsNotNull() {
            addCriterion("ckctid is not null");
            return (Criteria) this;
        }

        public Criteria andCkctidEqualTo(String value) {
            addCriterion("ckctid =", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidNotEqualTo(String value) {
            addCriterion("ckctid <>", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidGreaterThan(String value) {
            addCriterion("ckctid >", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidGreaterThanOrEqualTo(String value) {
            addCriterion("ckctid >=", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidLessThan(String value) {
            addCriterion("ckctid <", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidLessThanOrEqualTo(String value) {
            addCriterion("ckctid <=", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidLike(String value) {
            addCriterion("ckctid like", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidNotLike(String value) {
            addCriterion("ckctid not like", value, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidIn(List<String> values) {
            addCriterion("ckctid in", values, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidNotIn(List<String> values) {
            addCriterion("ckctid not in", values, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidBetween(String value1, String value2) {
            addCriterion("ckctid between", value1, value2, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCkctidNotBetween(String value1, String value2) {
            addCriterion("ckctid not between", value1, value2, "ckctid");
            return (Criteria) this;
        }

        public Criteria andCktimeIsNull() {
            addCriterion("cktime is null");
            return (Criteria) this;
        }

        public Criteria andCktimeIsNotNull() {
            addCriterion("cktime is not null");
            return (Criteria) this;
        }

        public Criteria andCktimeEqualTo(Timestamp value) {
            addCriterion("cktime =", value, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeNotEqualTo(Timestamp value) {
            addCriterion("cktime <>", value, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeGreaterThan(Timestamp value) {
            addCriterion("cktime >", value, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeGreaterThanOrEqualTo(Timestamp value) {
            addCriterion("cktime >=", value, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeLessThan(Timestamp value) {
            addCriterion("cktime <", value, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeLessThanOrEqualTo(Timestamp value) {
            addCriterion("cktime <=", value, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeIn(List<Timestamp> values) {
            addCriterion("cktime in", values, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeNotIn(List<Timestamp> values) {
            addCriterion("cktime not in", values, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeBetween(Timestamp value1, Timestamp value2) {
            addCriterion("cktime between", value1, value2, "cktime");
            return (Criteria) this;
        }

        public Criteria andCktimeNotBetween(Timestamp value1, Timestamp value2) {
            addCriterion("cktime not between", value1, value2, "cktime");
            return (Criteria) this;
        }

        public Criteria andCkproblemIsNull() {
            addCriterion("ckproblem is null");
            return (Criteria) this;
        }

        public Criteria andCkproblemIsNotNull() {
            addCriterion("ckproblem is not null");
            return (Criteria) this;
        }

        public Criteria andCkproblemEqualTo(String value) {
            addCriterion("ckproblem =", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemNotEqualTo(String value) {
            addCriterion("ckproblem <>", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemGreaterThan(String value) {
            addCriterion("ckproblem >", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemGreaterThanOrEqualTo(String value) {
            addCriterion("ckproblem >=", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemLessThan(String value) {
            addCriterion("ckproblem <", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemLessThanOrEqualTo(String value) {
            addCriterion("ckproblem <=", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemLike(String value) {
            addCriterion("ckproblem like", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemNotLike(String value) {
            addCriterion("ckproblem not like", value, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemIn(List<String> values) {
            addCriterion("ckproblem in", values, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemNotIn(List<String> values) {
            addCriterion("ckproblem not in", values, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemBetween(String value1, String value2) {
            addCriterion("ckproblem between", value1, value2, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkproblemNotBetween(String value1, String value2) {
            addCriterion("ckproblem not between", value1, value2, "ckproblem");
            return (Criteria) this;
        }

        public Criteria andCkdescIsNull() {
            addCriterion("ckdesc is null");
            return (Criteria) this;
        }

        public Criteria andCkdescIsNotNull() {
            addCriterion("ckdesc is not null");
            return (Criteria) this;
        }

        public Criteria andCkdescEqualTo(String value) {
            addCriterion("ckdesc =", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescNotEqualTo(String value) {
            addCriterion("ckdesc <>", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescGreaterThan(String value) {
            addCriterion("ckdesc >", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescGreaterThanOrEqualTo(String value) {
            addCriterion("ckdesc >=", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescLessThan(String value) {
            addCriterion("ckdesc <", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescLessThanOrEqualTo(String value) {
            addCriterion("ckdesc <=", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescLike(String value) {
            addCriterion("ckdesc like", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescNotLike(String value) {
            addCriterion("ckdesc not like", value, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescIn(List<String> values) {
            addCriterion("ckdesc in", values, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescNotIn(List<String> values) {
            addCriterion("ckdesc not in", values, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescBetween(String value1, String value2) {
            addCriterion("ckdesc between", value1, value2, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkdescNotBetween(String value1, String value2) {
            addCriterion("ckdesc not between", value1, value2, "ckdesc");
            return (Criteria) this;
        }

        public Criteria andCkstatusIsNull() {
            addCriterion("ckstatus is null");
            return (Criteria) this;
        }

        public Criteria andCkstatusIsNotNull() {
            addCriterion("ckstatus is not null");
            return (Criteria) this;
        }

        public Criteria andCkstatusEqualTo(Integer value) {
            addCriterion("ckstatus =", value, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusNotEqualTo(Integer value) {
            addCriterion("ckstatus <>", value, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusGreaterThan(Integer value) {
            addCriterion("ckstatus >", value, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("ckstatus >=", value, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusLessThan(Integer value) {
            addCriterion("ckstatus <", value, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusLessThanOrEqualTo(Integer value) {
            addCriterion("ckstatus <=", value, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusIn(List<Integer> values) {
            addCriterion("ckstatus in", values, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusNotIn(List<Integer> values) {
            addCriterion("ckstatus not in", values, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusBetween(Integer value1, Integer value2) {
            addCriterion("ckstatus between", value1, value2, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("ckstatus not between", value1, value2, "ckstatus");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhIsNull() {
            addCriterion("ckstatuszh is null");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhIsNotNull() {
            addCriterion("ckstatuszh is not null");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhEqualTo(String value) {
            addCriterion("ckstatuszh =", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhNotEqualTo(String value) {
            addCriterion("ckstatuszh <>", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhGreaterThan(String value) {
            addCriterion("ckstatuszh >", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhGreaterThanOrEqualTo(String value) {
            addCriterion("ckstatuszh >=", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhLessThan(String value) {
            addCriterion("ckstatuszh <", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhLessThanOrEqualTo(String value) {
            addCriterion("ckstatuszh <=", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhLike(String value) {
            addCriterion("ckstatuszh like", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhNotLike(String value) {
            addCriterion("ckstatuszh not like", value, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhIn(List<String> values) {
            addCriterion("ckstatuszh in", values, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhNotIn(List<String> values) {
            addCriterion("ckstatuszh not in", values, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhBetween(String value1, String value2) {
            addCriterion("ckstatuszh between", value1, value2, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkstatuszhNotBetween(String value1, String value2) {
            addCriterion("ckstatuszh not between", value1, value2, "ckstatuszh");
            return (Criteria) this;
        }

        public Criteria andCkuidIsNull() {
            addCriterion("ckuid is null");
            return (Criteria) this;
        }

        public Criteria andCkuidIsNotNull() {
            addCriterion("ckuid is not null");
            return (Criteria) this;
        }

        public Criteria andCkuidEqualTo(Integer value) {
            addCriterion("ckuid =", value, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidNotEqualTo(Integer value) {
            addCriterion("ckuid <>", value, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidGreaterThan(Integer value) {
            addCriterion("ckuid >", value, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ckuid >=", value, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidLessThan(Integer value) {
            addCriterion("ckuid <", value, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidLessThanOrEqualTo(Integer value) {
            addCriterion("ckuid <=", value, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidIn(List<Integer> values) {
            addCriterion("ckuid in", values, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidNotIn(List<Integer> values) {
            addCriterion("ckuid not in", values, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidBetween(Integer value1, Integer value2) {
            addCriterion("ckuid between", value1, value2, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkuidNotBetween(Integer value1, Integer value2) {
            addCriterion("ckuid not between", value1, value2, "ckuid");
            return (Criteria) this;
        }

        public Criteria andCkunameIsNull() {
            addCriterion("ckuname is null");
            return (Criteria) this;
        }

        public Criteria andCkunameIsNotNull() {
            addCriterion("ckuname is not null");
            return (Criteria) this;
        }

        public Criteria andCkunameEqualTo(String value) {
            addCriterion("ckuname =", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameNotEqualTo(String value) {
            addCriterion("ckuname <>", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameGreaterThan(String value) {
            addCriterion("ckuname >", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameGreaterThanOrEqualTo(String value) {
            addCriterion("ckuname >=", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameLessThan(String value) {
            addCriterion("ckuname <", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameLessThanOrEqualTo(String value) {
            addCriterion("ckuname <=", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameLike(String value) {
            addCriterion("ckuname like", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameNotLike(String value) {
            addCriterion("ckuname not like", value, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameIn(List<String> values) {
            addCriterion("ckuname in", values, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameNotIn(List<String> values) {
            addCriterion("ckuname not in", values, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameBetween(String value1, String value2) {
            addCriterion("ckuname between", value1, value2, "ckuname");
            return (Criteria) this;
        }

        public Criteria andCkunameNotBetween(String value1, String value2) {
            addCriterion("ckuname not between", value1, value2, "ckuname");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}